package com.spring.daily.web.dao;

import com.spring.daily.web.model.WeeklyRecord;
import com.spring.daily.web.model.WeeklyRecordBase;
import com.spring.daily.web.model.WeeklyRecordWithBLOBs;

public interface WeeklyRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(WeeklyRecordWithBLOBs record);

    int insertSelective(WeeklyRecordWithBLOBs record);

    WeeklyRecordWithBLOBs selectByPrimaryKey(String id);
    
    WeeklyRecordBase selectWeekDailyByID(String weekDailyID);

    int updateByPrimaryKeySelective(WeeklyRecordWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WeeklyRecordWithBLOBs record);

    int updateByPrimaryKey(WeeklyRecord record);
}